/* 
    Document   : global.css
    Created on : Oct 18, 2011, 12:33:23 AM
    Author     : srkrishnan
    Description:
        Purpose of the stylesheet follows.
*/

/* 
   TODO customize this sample style
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/

root { 
    display: block;
}

/* HTML elements  */		

h1, h2, h3, h4, h5, h6{
    font-weight:normal;
    margin:0;
    line-height:1.1em;
    color:#000;
}	
h1{font-size:2em;margin-bottom:.5em;}	
h2{font-size:1.75em;margin-bottom:.5142em;padding-top:.2em;}	
h3{font-size:1.5em;margin-bottom:.7em;padding-top:.3em;}
h4{font-size:1.25em;margin-bottom:.6em;}
h5,h6{font-size:1em;margin-bottom:.5em;font-weight:bold;}

p, blockquote, ul, ol, dl, form, table/*, pre*/{line-height:inherit;margin:0 0 1.5em 0;}
ul, ol, dl{padding:0;}
ul ul, ul ol, ol ol, ol ul, dd{margin:0;}
li{margin:0 0 0 2em;padding:0;display:list-item;list-style-position:outside;}	
blockquote, dd{padding:0 0 0 2em;}
/*pre,*/ code, samp, kbd, var{font:100% mono-space,monospace;}
/*pre{overflow:auto;}*/
abbr, acronym{
    text-transform:uppercase;
    border-bottom:1px dotted #000;
    letter-spacing:1px;
}
abbr[title], acronym[title]{cursor:help;}
small{font-size:.9em;}
sup, sub{font-size:.8em;}
em, cite, q{font-style:italic;}
img{border:none;}			
hr{display:none;}	
table{width:100%;border-collapse:collapse;}
th,caption{text-align:left;}
form div{margin:.5em 0;clear:both;}
label{display:block;}
fieldset{margin:0;padding:0;border:none;}
legend{font-weight:bold;}
input[type="radio"],input[type="checkbox"], .radio, .checkbox{margin:0 .25em 0 0;}

/* //  HTML elements */	

/* base */

body, table, input, textarea, select, li, button{
    font:1em "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    line-height:1.5em;
    color:#444;
}	
body{
    font-size:12px;

    /*text-align:center;*/

    background: url('../images/bg1.png');
}

/* // base */

/* login form */	

#login,#register{
    margin:5em auto;
    background:#fff;
    border:8px solid #eee;
    width:500px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
    -moz-box-shadow:0 0 10px #4e707c;
    -webkit-box-shadow:0 0 10px #4e707c;
    box-shadow:0 0 10px #4e707c;
    text-align:left;
    position:relative;
}

#login a,#register a, #login a:visited,#register a:visited{color:#0283b2;}
#login a:hover,#register a:hover{color:#111;}
#login h1,#register h1{
    background: url('../images/bg1.png');
    color:#fff;
    text-shadow:#007dab 0 1px 0;
    font-size:14px;
    padding:18px 23px;
    margin:0 0 1.5em 0;
    border-bottom:1px solid #007dab;
}
#login .register{
    position:absolute;
    float:left;
    margin:0;
    line-height:30px;
    top:-40px;
    right:0;
    font-size:11px;
}
#login p,#register p{margin:.5em 25px;}
#login div,#register div{
    margin:.5em 25px;
    background:#eee;
    padding:4px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    border-radius:3px;
    text-align:right;
    position:relative;
}	
#login label,#register label{
    float:left;
    line-height:30px;
    padding-left:10px;
}
#login .field,#register .field{
    border:1px solid #ccc;
    width:280px;
    font-size:12px;
    line-height:1em;
    padding:4px;
    -moz-box-shadow:inset 0 0 5px #ccc;
    -webkit-box-shadow:inset 0 0 5px #ccc;
    box-shadow:inset 0 0 5px #ccc;
}	
#login div.fsubmit,#register div.fsubmit{background:none;margin:1em 25px;text-align:left;}	
#login div.fsubmit label,#register div.fsubmit label{float:none;display:inline;font-size:11px;}	
#login button,#register input.formsubmit{
    border:0;
    padding:0 30px;
    height:30px;
    line-height:30px;
    text-align:center;
    font-size:12px;
    color:#fff;
    text-shadow:#007dab 0 1px 0;
    background:#0092c8;
    -moz-border-radius:50px;
    -webkit-border-radius:50px;
    border-radius:50px;
    cursor:pointer;
}

#login .forgot{text-align:right;font-size:11px;}
#login .back{padding:1em 0;border-top:1px solid #eee;text-align:right;font-size:11px;}
#login .error,#register .error{
    float:left;
    position:absolute;
    left:95%;
    top:-5px;
    background:#890000;
    padding:5px 10px;	
    font-size:11px;
    color:#fff;
    text-shadow:#500 0 1px 0;
    text-align:left;
    white-space:nowrap;
    border:1px solid #500;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    border-radius:3px;
    -moz-box-shadow:0 0 5px #700;
    -webkit-box-shadow:0 0 5px #700;
    box-shadow:0 0 5px #700;
}

#login .loginerror{
    margin-top: -35px;
    font-weight: bold;
    color:red;
    height: 15px;
}

#login sup,#register sup{
    color:red;
}

#header{

    position: fixed;
    _position: relative;
    top: 0;
    left: 0;
    z-index: 12;
    width: 100%;
}


#top-bar-outer{
    width: 100%;
    height: 40px;
    display: block;
    text-align: center;
    position: relative;
}
#toppanel{
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    left:0;
    background:#111;
    background:-webkit-gradient(linear,left top,left bottom,from(#333),to(#111));
    background:-moz-linear-gradient(top,#333,#111);
    background:transparent\9;
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333',endColorstr='#111111');
    box-shadow:0 1px 2px rgba(0,0,0,0.5);
    -moz-box-shadow:0 1px 2px rgba(0,0,0,0.5);
    -webkit-box-shadow:0 1px 2px rgba(0,0,0,0.5);
}

#top-bar {
    margin: 0 auto;
    width: 100%;
    text-align: left;
}

#top-bar .top-bar-inside {
    width: 100%;
    margin: 0 40px;
    position: relative;
}
#top-bar .static-links {
    float: left;
}

#logo {
    float: left;
}

a {
    color: #2D76B9;
    text-decoration: none;
}

#logo a {
    text-indent: 0px;
    background: transparent url(../images/twitter_logo_right.png) no-repeat 20px 9px;
    display: block;
    color: #fff;
    height: 40px;
    width: 140px;
    margin-right: 5px;
    outline: none;
    font-weight: bold;
    font-size: 20px;
    font-family: cursive;
    margin-top: 10px;
}
#top-bar .static-links{float:left;}

#global-nav{float:left;margin-left:8px;}

#global-nav li a{margin-right:1px;outline:none;}

#global-nav li a:hover{color:#fff;}

#global-nav li:first-child a{border-left:none;}

#global-nav li:last-child a{border-right:none;}

#global-nav .active a,html.use-prerendered-content #global-nav-home a{color:#fff;background-color:#111;background:rgba(0,0,0,0.7);font-weight:bold;}

#global-nav .new a{background-image:url(../img/light.png);background-repeat:no-repeat;background-position:center bottom;}

#global-nav-home a{color:#fff;background-color:#111;background:rgba(0,0,0,0.7);font-weight:bold;}

#search-form {
    float: left;
    margin: 6px 0 0 0;
    opacity: 1;
    position: relative;
}

#search-form span.glass {
    display: block;
    position: absolute;
    cursor: pointer;
    display: block;
    right: 0;
    padding: 7px 8px 5px 8px;
}

#search-form span.glass i {
    background-image: url(../images/sprite-icons.png);
    background-position: -224px -96px;
    width: 14px;
    height: 14px;
    display: block;
    font-size: 0;
}

#search-form #search-query {
    border: 1px solid black;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    font: 13px Arial,sans-serif;
    width: 180px;
    padding: 6px 25px 4px 6px;
    color: #ccc;
    background: #666;
    -webkit-box-shadow: 0 1px 0 #444;
    -moz-box-shadow: 0 1px 0 #444;
    box-shadow: 0 1px 0 #444;
}

#global-nav {
    float: left;
    margin-left: 8px;
}

#global-nav li:first-child a {
    border-left: none;
}

#global-nav .active a, html.use-prerendered-content #global-nav-home a {
    color: #fff;
    background: rgba(0,0,0,0.7);
    background: rgba(0,0,0,0.7);
    font-weight: bold;
}

#top-bar ul li a {
    color: #bababa;
    padding: 10px 10px;
    display: block;
    font-weight: normal;
}

#global-nav li a {
    margin-right: 1px;
    outline: none;
}

#top-bar ul {
    float: left;
    list-style-type: none;
    margin: 0;
}
ul {
    list-style: disc;
}
#top-bar ul {
    list-style-type: none;
}

#top-bar .active-links {
    position: absolute;
    right: 8px;
    top: 0;
}

#session {
    display: inline-block;
    padding: 10px 12px;
    height: 20px;
    vertical-align: top;
    cursor: pointer;
    white-space: nowrap;
    _width: 0;
}

#session #screen-name {
    color: #bababa;
    cursor: pointer;
    font-weight: normal;
    display: inline-block;
    max-width: 200px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#session * {
    outline: none;
}

/* //  login form */	


#top-bar-outer{width:100%;height:40px;display:block;text-align:center;position:relative;}
#top-bar-bg{width:100%;height:100%;position:absolute;top:0;left:0;background:#111;background:-webkit-gradient(linear,left top,left bottom,from(#333),to(#111));background:-moz-linear-gradient(top,#333,#111);background:transparent\9;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333',endColorstr='#111111');box-shadow:0 1px 2px rgba(0,0,0,0.5);-moz-box-shadow:0 1px 2px rgba(0,0,0,0.5);-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.5);}
#top-bar{margin:0 auto;width:100%;text-align:left;}
#top-bar .top-bar-inside{width:90%;margin:0 40px;position:relative;}
#top-bar ul{float:left;list-style-type:none;margin:0;}
#top-bar ul li{margin:0;padding:0;float:left;}
#top-bar ul li a{color:#bababa;padding:10px 10px;display:block;font-weight:normal;}
body.ja #top-bar ul li a,body.ru #top-bar ul li a{padding:10px 8px;}

#top-bar ul li a:hover{text-decoration:none;}
#logo{float:left;}
#logo a{text-indent:0px;background:transparent url(../img/twitter_logo_right.png) no-repeat 20px 9px;display:block;color:#fff;height:40px;width:140px;margin-right:5px;outline:none;}
body.jp #logo a,body.ru #logo a{margin-right:0;}
#top-bar .active-links{position:absolute;right:8px;top:0;}
#top-bar .static-links{float:left;}
#global-nav{float:left;margin-left:8px;}
#global-nav li a{margin-right:1px;outline:none;}
#global-nav li a:hover{color:#fff;}
#global-nav li:first-child a{border-left:none;}
#global-nav li:last-child a{border-right:none;}
#global-nav .active a,html.use-prerendered-content #global-nav-home a{color:#fff;background-color:#111;background:rgba(0,0,0,0.7);font-weight:bold;}
#global-nav .new a{background-image:url(../img/light.png);background-repeat:no-repeat;background-position:center bottom;}
#session{display:inline-block;padding:10px 12px;height:20px;vertical-align:top;cursor:pointer;white-space:nowrap;_width:0;}
#new-tweet{display:inline-block;width:16px;height:14px;padding:13px 6px;vertical-align:top;cursor:pointer;}
#new-tweet:hover{text-decoration:none;}
#new-tweet span{display:block;width:14px;height:14px;vertical-align:top;text-indent:-9999px;background-image:url(../img/sprite-icons.png);background-position:-176px -96px;font-size:0;}
#new-tweet:hover span{background-position:-192px -96px;}
#top-bar .vr{border-left:1px solid #040404;border-right:1px solid #2F2F2F;height:26px;display:inline-block;margin:6px 3px 1px 3px;}

#session img {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: top;
    margin-right: 6px;
    border: none;
    cursor: pointer;
}

#content{
    margin-top: 40px;
}